package com.tgy.JUC.Single;

/***
 * @ClassName: LazyMan02
 * @Description: 静态内部类创建单例模式
 * @Auther: 送你一块二向箔
 * @Date: 17:22 2022/3/15
 * @version : V1.0
 */
public class LazyMan02 {
    private LazyMan02() {
    }
    public static  LazyMan02 getInstance(){
        return InnerClass.lazyMan02;
    }
    static class InnerClass{
        private static final LazyMan02 lazyMan02 = new LazyMan02();
    }
}
